﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;

namespace FileDeleteConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            ServiceBase[] ServicesToRun;
            ServicesToRun = new ServiceBase[]
            {
                new Service1()
            };
            ServiceBase.Run(ServicesToRun);
            //var srcPath = System.Configuration.ConfigurationManager.AppSettings["FilePath"];
            //var dateString = System.Configuration.ConfigurationManager.AppSettings["TimeType"];
            //var dirName = DateTime.Now.ToString(dateString);
            //var result = FileDeleteTools.FileDelete(srcPath, dirName);
        }
    }
}
